package com.atguigu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@EnableDiscoveryClient//服务发现
@EnableFeignClients//服务调用
@SpringBootApplication
@ComponentScan(basePackages = {"com.atguigu"})//加载其他项目的包的配置类
//使用swagger http://localhost:8001/swagger-ui.html
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
